// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/router.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueResource from 'vue-resource'
import store from "./store/store.js"
var ElTreeGrid = require('element-tree-grid');
Vue.component(ElTreeGrid.name,ElTreeGrid);
Vue.use(require('vue-moment'))
Vue.use(VueResource)
Vue.use(ElementUI);
Vue.config.productionTip = false
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

//接口地址
Vue.http.options.root="http://api.xiaomadagege.cn:8800/api/private/v1/"
Vue.http.options.emulateJson=true 

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  store,
  template: '<App/>'
})
